package cn.patpang.config;import cn.patpang.core.framework.spring.PathVariableRequestMappingHandlerMapping;import org.springframework.boot.autoconfigure.web.WebMvcRegistrationsAdapter;import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;/** * @Authoer: Pat Pang * @Date: 2018/6/18 上午1:05 * @Desc: */@Configurationpublic class MvcConfig extends WebMvcRegistrationsAdapter {    /**     * 自定义reqeust mapping     *     * @return     */    @Override    public RequestMappingHandlerMapping getRequestMappingHandlerMapping() {        return new PathVariableRequestMappingHandlerMapping();    }}